package com.shijiu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
/**
 * @Author xlj
 * @Date Created in  2023/3/18 14:30
 * @DESCRIPTION:
 * @Version V1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Food {
    @TableId( type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("店铺id")
    private Integer shopId;

    @ApiModelProperty("总类id")
    private Integer categoryId;

    @ApiModelProperty("名字")
    private String name;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("是否推荐")
    private Boolean isRecommend;

    @ApiModelProperty("图片地址")
    private String imgSrc;

    @ApiModelProperty("描述")
    private String description;
}
